// samsting : this file is auto create.

#include "Slb/2014-05-15/DescribeHealthStatusResponse.h"

namespace aliyun { namespace Slb {

DescribeHealthStatusResponse::DescribeHealthStatusResponse() {
}

const string& DescribeHealthStatusResponse::BackendServer::GetServerId(void) const {
  return ServerId_;
}

const string& DescribeHealthStatusResponse::BackendServer::GetServerHealthStatus(void) const {
  return ServerHealthStatus_;
}

const std::vector<DescribeHealthStatusResponse::BackendServer>& DescribeHealthStatusResponse::GetBackendServers(void) const {
  return BackendServers_;
}

const char* DescribeHealthStatusResponse::BaseKey(void) {
  return "DescribeHealthStatusResponse";
}

void DescribeHealthStatusResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int BackendServers__length = 0;
  UnmarshallerInt(BackendServers__length, response_map, "DescribeHealthStatusResponse.BackendServers.Length");
  if(BackendServers__length >= 0) {
    BackendServers_.resize(BackendServers__length);
    for(int i1 = 0; i1 < BackendServers__length; i1++) {
      UnmarshallerString(BackendServers_[i1].ServerId_, response_map, "DescribeHealthStatusResponse.BackendServers["+string_ValueOfInt(i1)+"].ServerId");
      UnmarshallerString(BackendServers_[i1].ServerHealthStatus_, response_map, "DescribeHealthStatusResponse.BackendServers["+string_ValueOfInt(i1)+"].ServerHealthStatus");
    } // for(int i1 = 0; i1 < BackendServers__length; i1++) {
  } // if(BackendServers__length >= 0) {

}


} } // namespace aliyun { namespace Slb {

// end of file 
